package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface OrderSettingService {
    /**
     * 添加预约
     * @param orderSettingList
     */
    public void add(ArrayList<OrderSetting> orderSettingList);

    /**
     * 根据日期获取可预约人数和当前预约人数
     * @param date
     * @return
     */
    public List<Map> getOrderSettingByMonth(String date);

    /**
     * 预约设置
     * @param orderSetting
     */
    public void editNumberByDate(OrderSetting orderSetting);
}
